package gamecenter.gc.mapper;

import gamecenter.gc.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface User_Mapper {
    public void register(@Param("user_name") String user_name, @Param("password") String password);
    public User get_Cer_User_From_Name(@Param("user_name") String name);
    public User check_User(@Param("user_name") String user_name, @Param("password") String password);
    public void modify_User_Password(@Param("user_name") String user_name, @Param("password") String password);
    public void modify_User_Age(@Param("user_name") String user_name, @Param("age") int age);
    public void modify_User_Photo(@Param("user_name") String user_name, @Param("photo") String photo);
    public void user_Recharge(@Param("user_name") String user_name, @Param("money") int money);
    public void user_Purchase(@Param("user_name") String user_name, @Param("money") int money);
}
